<?php

$fields = array(

	'title' => array(
		'validation' => array('trim', 'required', 'min_length'=>2),
		'type' => 'text',
		'element_class' => 'longtext',
		'caption' => __('Name'),
	),

	'type' => array(
		'validation' => array('required'),
		'type' => 'radio',
		'caption' => __('Type'),
		'class' => 'float',
		'list' => ':types',
		'value' => 'person',
	),

	'url' => array(
		'validation' => array('required'),
		'type' => 'text',
		'caption' => __('URL'),
		'element_class' => 'longtext',
	),

);
